@if (src) {
  <img
    onerror="this.style.display = 'none'"
    [ngClass]="{ large: size === 'large' }"
    [src]="src"
    [title]="tooltip ? tooltip : ''"
  />
}
